package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(
		basePackages = "com.ecommerce.dao.mybatis"// 只扫描 MyBatis Mapper
)// 确保主应用类 (DemoApplication) 的包路径能覆盖所有组件，如果使用 MyBatis 也需要添加
public class DemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
	}

}
